<!-- 
	表单item
-->
<template>
	<view class="form-item">
		<view class="form-label">{{label}}</view>
		<view class="form-item-content">			
			<slot></slot>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			label: {
				type: String,
				default: ''
			}
		},
		data() {
			return {
				
			}
		}
	}
</script>

<style scoped>
.form-item {
	display: flex;
	border-bottom: 1px solid #e5e5e5;
}
.form-label, .form-item-content {
	line-height: 90rpx;
}
.form-label {
	color: #323233;	
}
.form-item-content {
	flex: 1;
	color: #666;
	display: flex;
	align-items: center;
}
</style>
